import 'package:mybaseplus/base/tool/entitylog/MyEntityLog.dart';

class LanguageEntity {
  Auto? auto;

  LanguageEntity({
    this.auto,
  });

  LanguageEntity.fromJson(Map<String, dynamic> json) {
    if (json.containsKey('auto')) {
      var tmp = json['auto'];
      if (tmp is Map) {
        auto = json['auto'] != null ? new Auto.fromJson(json['auto']) : null;
      } else {
        auto = null;
      }
    } else {
      auto = null;
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    if (this.auto != null) {
      data['auto'] = this.auto!.toJson();
    }
    return data;
  }
}

class Auto {
  String? error;
  String? tryAgain;
  String? wrong;
  String? noData;
  String? releaseText;
  String? refreshingText;
  String? canTwoLevelText;
  String? completeText;
  String? failedText;
  String? idleText;
  String? loadingText;
  String? noDataText;
  String? canLoadingText;
  String? idleFootText;
  String? failedFootText;
  String? basebasebasebasebasebasebasebasebasebasebase;

  Auto({
    this.error,
    this.tryAgain,
    this.wrong,
    this.noData,
    this.releaseText,
    this.refreshingText,
    this.canTwoLevelText,
    this.completeText,
    this.failedText,
    this.idleText,
    this.loadingText,
    this.noDataText,
    this.canLoadingText,
    this.idleFootText,
    this.failedFootText,
    this.basebasebasebasebasebasebasebasebasebasebase,
  });

  Auto.fromJson(Map<String, dynamic> json) {
    error = MyEntityLog.handleString(json, 'error');
    tryAgain = MyEntityLog.handleString(json, 'tryAgain');
    wrong = MyEntityLog.handleString(json, 'wrong');
    noData = MyEntityLog.handleString(json, 'noData');
    releaseText = MyEntityLog.handleString(json, 'releaseText');
    refreshingText = MyEntityLog.handleString(json, 'refreshingText');
    canTwoLevelText = MyEntityLog.handleString(json, 'canTwoLevelText');
    completeText = MyEntityLog.handleString(json, 'completeText');
    failedText = MyEntityLog.handleString(json, 'failedText');
    idleText = MyEntityLog.handleString(json, 'idleText');
    loadingText = MyEntityLog.handleString(json, 'loadingText');
    noDataText = MyEntityLog.handleString(json, 'noDataText');
    canLoadingText = MyEntityLog.handleString(json, 'canLoadingText');
    idleFootText = MyEntityLog.handleString(json, 'idleFootText');
    failedFootText = MyEntityLog.handleString(json, 'failedFootText');
    basebasebasebasebasebasebasebasebasebasebase =
        MyEntityLog.handleString(json, 'basebasebasebasebasebasebasebasebasebasebase');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['error'] = this.error;
    data['tryAgain'] = this.tryAgain;
    data['wrong'] = this.wrong;
    data['noData'] = this.noData;
    data['releaseText'] = this.releaseText;
    data['refreshingText'] = this.refreshingText;
    data['canTwoLevelText'] = this.canTwoLevelText;
    data['completeText'] = this.completeText;
    data['failedText'] = this.failedText;
    data['idleText'] = this.idleText;
    data['loadingText'] = this.loadingText;
    data['noDataText'] = this.noDataText;
    data['canLoadingText'] = this.canLoadingText;
    data['idleFootText'] = this.idleFootText;
    data['failedFootText'] = this.failedFootText;
    data['basebasebasebasebasebasebasebasebasebasebase'] =
        this.basebasebasebasebasebasebasebasebasebasebase;
    return data;
  }
}
